{extend name="layout/layout" /}

{block name="content"}
<style>
     .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td{
        line-height: 40px;
     }
</style>
<div class="row js-check-wrap">
    <div class="col-lg-12">
        <div class="box box-success">
            <div class="box-header with-border">
                <div class="box-tools pull-right">
                </div>
            </div>
            <div class="box-body ">
                <form class="js-ajax-form" method="post">
                    <div class="table-responsive">
                        <table class="table table-bordered table-hover dataTable">
                            <thead>
                                <th>
                                    <input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label>
                                </th>
                                <th>头像</th>
                                <th>姓名</th>
                                <th>性别</th>
                                <th>出生年月</th>
                                <th>身份证号</th>
                                <th>手机号</th>
                                <th>民族</th>
                                <th>文化程度</th>
                                <th>健康状况</th>
                            </thead>
                            <tbody>
                            {foreach $datas as $data}
                            <tr>
                                <td>
                                    <input type="checkbox" class="js-check" name="ids[]" value="{$data->id}" data-yid="js-check-y" data-xid="js-check-x">
                                </td>
                                <td><a href="{$data->avatar}" target="_blank">
                                        <img src="{$data->avatar}" style="width: 40px;height: 40px;"/>
                                    </a></td>
                                <td>{$data->name|mb_substr=0,6}</td>
                                <td>{$data->gender}</td>
                                <td>{$data->birthday}</td>
                                <td>{$data->identityNumber}</td>
                                <td>{$data->mobile}</td>
                                <td>{$data->ethnic->name}</td>
                                <td>{$data->education}</td>
                                <td>{$data->health}</td>
                            </tr>
                            {/foreach}
                            </tbody>
                        </table>
                    </div>
                </form>
            </div>
            <div class="box-footer">
                {include file="common:paginate" /}
            </div>
        </div>
    </div>
</div>
{/block}

{block name="pagescript"}

{/block}